package com.bishe.demo.modules.other.service;

import com.bishe.demo.modules.common.entity.ResultEntity;
import com.bishe.demo.modules.common.entity.SearchBean;
import com.bishe.demo.modules.other.entity.Scenery;
import com.github.pagehelper.PageInfo;

public interface SceneryService {
    ResultEntity<Scenery> insertScenery(Scenery scenery);

    ResultEntity<Scenery> updateScenery(Scenery scenery);

    ResultEntity<Scenery> deleteSceneryBySceneryId(int sceneryId);

    Scenery getSceneryBySceneryId(int sceneryId);

    PageInfo<Scenery> getSceneryBySearchBean(SearchBean searchBean);
}
